[INFO] cloning repository https://github.com/FrankYang4/learning-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrankYang4/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankYang4%2Flearning-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankYang4%2Flearning-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17008ef4e40720b3cc35879685621cb06d8b553b
[INFO] checking FrankYang4/learning-rust against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankYang4%2Flearning-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/FrankYang4/learning-rust on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/FrankYang4/learning-rust
[INFO] finished tweaking git repo https://github.com/FrankYang4/learning-rust
[INFO] tweaked toml for git repo https://github.com/FrankYang4/learning-rust written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/FrankYang4/learning-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1eea35226bd26796bf05b4c663c191dd5658c72f9fd1ad4987bb121430f8b418
[INFO] running `Command { std: "docker" "start" "-a" "1eea35226bd26796bf05b4c663c191dd5658c72f9fd1ad4987bb121430f8b418", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1eea35226bd26796bf05b4c663c191dd5658c72f9fd1ad4987bb121430f8b418", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1eea35226bd26796bf05b4c663c191dd5658c72f9fd1ad4987bb121430f8b418", kill_on_drop: false }`
[INFO] [stdout] 1eea35226bd26796bf05b4c663c191dd5658c72f9fd1ad4987bb121430f8b418
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 441b4d54ff4e36607e57f48cdc98ffad1d499df1b139d0f694f9e24de1d602a7
[INFO] running `Command { std: "docker" "start" "-a" "441b4d54ff4e36607e57f48cdc98ffad1d499df1b139d0f694f9e24de1d602a7", kill_on_drop: false }`
[INFO] [stderr]     Checking learning_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> examples/match_pattern.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |         d @ 1...5 => println!("weekday {}", d),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> examples/for_loop.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 |     for i in 0...10 {
[INFO] [stdout]   |               ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 |     for i in 0..10 {
[INFO] [stdout]   |               ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 |     for i in 0..=10 {
[INFO] [stdout]   |               ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]  --> examples/traits.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn sub(&self, Number) -> i32;
[INFO] [stdout]   |                   ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Number`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> examples/traits.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn add(&self, Number) -> i32;
[INFO] [stdout]    |                   ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Number`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> examples/array.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |              &arr2[1...2]);
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 10 |              &arr2[1..2]);
[INFO] [stdout]    |                     ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 10 |              &arr2[1..=2]);
[INFO] [stdout]    |                     ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `inclusive_range_syntax` has been stable since 1.26.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> examples/for_loop.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(inclusive_range_syntax)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: floating-point types cannot be used in patterns
[INFO] [stdout]  --> examples/match_pattern.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |         (1.2, y) => println!("x is 1.2, y is {}", y),
[INFO] [stdout]   |          ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: floating-point types cannot be used in patterns
[INFO] [stdout]   --> examples/match_pattern.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         (x, 4.3) => println!("x is {}, y is 4.3", x),
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learning_rust` due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `inclusive_range_syntax` has been stable since 1.26.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> examples/array.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(inclusive_range_syntax)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/vec.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut v5 = &mut v4;
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learning_rust` due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "441b4d54ff4e36607e57f48cdc98ffad1d499df1b139d0f694f9e24de1d602a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "441b4d54ff4e36607e57f48cdc98ffad1d499df1b139d0f694f9e24de1d602a7", kill_on_drop: false }`
[INFO] [stdout] 441b4d54ff4e36607e57f48cdc98ffad1d499df1b139d0f694f9e24de1d602a7
